echo WEB RUN START;
cd /usr/local/code/moses-saas/front/ux/
git pull
cnpm install
cnpm run build
echo COPY WEB PACKAGE
mkdir /usr/local/code/web_back
rm -rf /usr/local/code/web_back/*
cp -r /usr/local/code/web/* /usr/local/code/web_back
rm -rf /usr/local/code/web/*
cp -r /usr/local/code/moses-saas/front/ux/dist/* /usr/local/code/web
echo BUILD PACKAGE
